package com.luaj.elasticsearch.service;

import com.luaj.elasticsearch.pojo.User;

/**
 * @author 卢安杰
 * @date 2020-11-20 20:06
 */
public interface UserService {
    int countAllUser();

    User getUser(Integer id);

    User register(User registerUser);

    User login(String telphone, String password);
}
